package service;

import pojo.User;

import java.util.List;

/**
 * 用户表业务逻辑接口
 */
public interface UserService {
    User findUserById(Integer id);
    User findUserByUsername(String username);
    List<User> findAllUsers();
    int addUser(User user);
    int updateUser(User user);
    int deleteUser(Integer id);
    int lockUser(Integer id, Boolean isLocked);
}